package com.my.coolq.api.request;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

/**
 * 设置群匿名
 * @author ch
 *
 */
public class SetGroupAnonymousRequest implements Serializable{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3910330007076147590L;
	

	/**
	 * 群qq号码
	 */
	private Long group_id;
	
	/**
	 * 是否允许匿名聊天
	 * true 为设置，false 为取消
	 */
	private Boolean enable;
	

	public SetGroupAnonymousRequest() {
		super();
	}


	public SetGroupAnonymousRequest(Long group_id, Boolean enable) {
		super();
		this.group_id = group_id;
		this.enable = enable;
	}


	public Long getGroup_id() {
		return group_id;
	}


	public void setGroup_id(Long group_id) {
		this.group_id = group_id;
	}


	public Boolean getEnable() {
		return enable;
	}


	public void setEnable(Boolean enable) {
		this.enable = enable;
	}
	
	@Override
	public String toString() {
		return JSON.toJSONString(this, SerializerFeature.UseISO8601DateFormat);
	}
	
	
}
